popover: Fix hfw/wfh size request
authorTimm Bäder <mail@baedert.org>
Thu, 1 Sep 2016 13:16:58 +0000 (15:16 +0200)
committerTimm Bäder <mail@baedert.org>
Thu, 1 Sep 2016 13:16:58 +0000 (15:16 +0200)
commit2c04941c5cca73740fe7b6ae3c49e5b4ab195c71
tree9472fb4ef4779a803b3e3a784211425d19e2776e
parent7f1ab32e6079917d5d4e0cbca36131f09a555804
popover: Fix hfw/wfh size request

Since we're using _get_rect_coords in size-allocate when allocating the
size of the child widget, use the newly introduced _get_rect_for_size to
calculate the difference between the passed size_for and the one we're
supposed to pass on to the child widget.
gtk/gtkpopover.c